<?php
/**
 *
 * @author ninetyseven.
 * @date 2023-03-27 22:31
 */

namespace App\Services\Interfaces;

interface CommonInterface
{
    /**
     * 账号登录
     * @param array $params
     * @return mixed
     * @author ninetyseven.
     * @date 2023-03-27 22:32
     */
    public function accountLogin(array $params = []);

    /**
     * 手机号登录
     * @return mixed
     * @author ninetyseven.
     * @date 2023-03-27 22:33
     */
    public function telLogin(array $params = []);

    /**
     * 获取轮播图
     * @param array $params
     * @return mixed
     * @author ninetyseven.
     * @date 2023-03-30 22:24
     */
    public function getBannerList(array $params = []);

    /**
     * 获取当前用户的社区关系
     * @return mixed
     * @author ninetyseven.
     * @date 2023-03-30 22:24
     */
    public static function getCommunity();
}
